fixed 9 runfails caused by wromg permutation masks
add scatter_int16