No need to depend on array for lat/lon values when we know the space is linear
New implementation also handles edge cases gracefully