Fixed getCode op cost and forgotten table size