Updated urosgen for multiple heaps

Andrea Zoppi