mutate array in-place to get bitwise left-shift (<<) against a scalar value