Sand ripples under sea waves. Part 4. Tile ripple formation