made changes such that in mem combiner consumes less memory