I think this works now with versionMap. Didn't add for lockmap yet
(Still hashmap)