ok for using only np.ma.resize