def get_quadtree_depth(chromsizes):
    tile_size_bp = TILE_SIZE
    min_tile_cover = np.ceil((sum(chromsizes) / tile_size_bp))
    return int(np.ceil(np.log2(min_tile_cover)))
def get_quadtree_depth(chromsizes):
    tile_size_bp = TILE_SIZE
    min_tile_cover = np.ceil((sum(chromsizes) / tile_size_bp))
    return int(np.ceil(np.log2(min_tile_cover)))