Made the layout algorithm know the sizes of manually resized nodes.