A systematic approach for selecting practical moduli sets for residue number systems