HISTOGRAM: workaround for floor approximation in grid assignment