population fixed; Bug with treeSet