Robust control of piezostage for nanoscale three-dimensional images acquisition