Depositing nanoparticles inside millimeter-size hollow tubing