Implement the base of VBox and HBox
Implement the base of VBox and HBox