bug distance