Efficiently representing populations in genetic programming