Fixed calculation issue in like rebuild worker