debugging population test recursion