Reordering the operations, it may improve cache friendliness.