created easier way to use intrinsic functions
vectorized small portion of histogram hits

there is probably more work that can be done here