infinite generation working in 1 direction

bugs out when you move in 1 direction, then switch directions