Fixed bug in recombine() method