Changing the solve to an inequality tester vs an elemental sorter made this solve much faster. Incorporating Quint recycling was a nice touch as well.