added code to estimate the total memory requirement for fusions