compute bounding box moved