Add ability to set a desired accuracy