add estimation of job size for better load balancing
fix merge issue