Pre-calculate how much space a method consumes from the stack