integration of miller rabin & some changes