with help of debugger it easier to implement the refmap struct
Authored by: heiko 2013-02-19
Parent: [r719]
Child: [r721]