Sketched the beginning of the local merge operation.