+ subranges for dynpairmap & pairmap
* modified size convention [0,maxIndex]