fix iterating off the end in situations where the neighbor == overlapEnd for out-of-core impl
fix iterating off the end in situations where the neighbor == overlapEnd for out-of-core impl

jwend/p_points2grid,CRREL/points2grid,jwend/p_points2grid,CRREL/points2grid,jwend/p_points2grid