[GL] Change Grid<POINT>::getGridCoords.
Due to rounding errors the computed grid coordinates are in some cases to large which leads to memory errors.
Due to rounding errors the computed grid coordinates are in some cases to large which leads to memory errors.