add method to find closest common superview
Implement the code that install view constraints to view.