Upgraded to a much faster combination enumerating algorithm.