_get_bases_mask now return a base mask for each index length, for mixed index runs