remove obsolete code (maskpart array)