public List<Mass> getNetworkMasses() {
        List<Mass> network = new LinkedList<>();

        for (Mass mass : masses) {
            if (mass.getType() == NETWORK) {
                network.add(mass);
            }
        }

        return network;
    }