migrating to new dnmllib and starting to migrate to dnmRange (still needs realloc())