calculate bbox from metadata on collection loading