public Mass getMassWithLowerIndex() {
        int sourceIndex = getSource().getIndex(graph);
        int destinationIndex = getDestination().getIndex(graph);

        return sourceIndex < destinationIndex ? getSource() : getDestination();
    }