Change the following lines in file 'ebcot_compression_recombine_all_subbands_fixed_rate_v2' (around line 500):

if target_segmentation_rate < 0.85*total_segmentation_cost
    % ====== Jon ======
%    [layer_stack, total_segmentation_cost] = lossy_segmentation_encoding_v7(layer_stack, input, input_label, target_segmentation_rate);
     w2 = cd;
     cd('lossy_segmentation');
     [layer_stack, total_segmentation_cost] = lossy_progressive_segmentation_encoding(layer_stack, target_segmentation_rate);
     cd(w2);
    % =================
end