Weighted exchange distance of basis pairs | Synapse