Bugs in the stack pointer dist calculator.