refactoring parameter capacity to size for maps and caches => library users don't have any effect on the capacity but on the number of objects they want to store in those containers