added more options! adjustable precision and matchRuns