sandbox for repair_mask speed
updates test case. use scatter for parallel runs.