improve speed when check pos_v in BoundedVolumeGrid.h