A direct electrifying algorithm for backbone identification