Performance and code gen tweaks
- Do not generate check heap code for Prio queues
- Factorrize some code in Stacks
- Use stack allocated refernces in loop code for performance (heaps)