fixed population timer bug by replacing deques with lists