Setting distance filter and desired accuracy