Split metadata to bucket and amount