added fill_blank_ixs function, and tests