Fixed the issue where cannot assign to an iteration if the estiamte is 0