Implement pure Layout-Script layoutting.