Correct stack frame size for collision function