Added some @inbounds in the code, but doesn't appear faster