accumulator? I haven't seen that since I was doing stuff with assembly :P

Ok, the first issue I see is that you're declaring final integers high and low, and assigning them the values of m and n,...