Gets rid of some magic numbers and reduces the number of things that need to manually change (e.g. when supporting AVX and needing to increase the xmm size).