`@inbounds` shouldn't be necessary here or below.  Did you test it both ways?