hand-made primer algorithm has been completed