added limits for number of version (according version keys), a new
feature of TomP2P