adjacentPoints is now a generator