change way we get the coords for grid