implemented the IMP method using MPRGP according to BBox boundary.