Optimizing IntArrays

Also added Unit test for it