@NonNull
    public static List<AllocatedSceneRange> minus(@NonNull final List<AllocatedSceneRange> ranges, @NonNull final AllocatedSceneRange other) {
        List<AllocatedSceneRange> results = new ArrayList<>();
        for (AllocatedSceneRange range : ranges) {
            results.addAll(range.minus(other));
            results = mergeSceneRanges(results);
        }
        /*ranges.clear();
        ranges.addAll(results);*/
        return results;
    }
Subtracts a range from a list of ranges

@param ranges ranges to be subtracted
@param other  {@link AllocatedSceneRange} range
@return a resulting {@link AllocatedSceneRange} or null otherwise
mesh/src/main/java/no/nordicsemi/android/mesh/AllocatedSceneRange.java