thin_metadata_size: add get_index(); streamline