Trying to find number of mod operations in 15 sec