Brought back loadManifest. Also did dynamic tree sizing