hide tough prime check alogrithm