Topology of Andreev bound states with flat dispersion | Synapse