optimize the combinations a little bit.