seperate miller rabin versions