the layouting model is a sort of leaf-glue-enclosingbox