Fixted problem with minimal distance anchors algorithm and higlighted property