Running randomized contraction for specified number of times to ensure greater probability of accurate output