fix accumulated rounding error in BBT grid