trying to force the compiler to unroll code, but its not currently working properly