Fixed off by one pmap count in generated code, now matches interpreted