Why does this change affect the optimizer output?