Trying this again. Fix the tiling.cycle for both directions (handle wraparound)