add implementation of calculateMaxStack; getter to Mnemonic enum added