the court making such determination shall modify the provisions to effect the original intent of the Parties to the maximum extent permissible, and the remaining provisions will continue in full force and effect. If any such provisions are deemed invalid, illegal, or unenforceable and cannot be ...