computeArestrictedtoh