changes to shrink result file size