Get rid of deep copy - improves speed to ~23 sec