Text this: Estimation of Critical Safety Thickness of the Base against Confined Water Inrush for a Rectangular Foundation Pit