narrowed down the bug to findDisconnectPoint