Bug hunting: Passing references to population allows for modification.