we need LogicalRemove and Replace methods
basic loop unrolling