add one functionality to wani_make_mask.m