new array2puint2(), array2puint1() helper functions