Max Execution tiny speed increase

Rearranged some variables and math
to add a very small speed improvement