debug of findAllChords