unify stack usage and body statements on method compiler