need to init capacity safely, fixes telehash/node-telehash#5