An atomistic investigation on the mechanism of machining nanostructures when using single tip and multi-tip diamond tools