Take out primeIndexMax since not used in code.