Corrected calculation of stack size
Fixed parsing of call expressions