debugging distance