change the vectormap<> to be from id to id rather than ptr to id, in order to save space on 64-bit machines with 32-bit indices