Optimum Constraint Strategy for Liftgates