Cosmetic improvement of prime search code