simple nearest neighbor rotation