Surface tailoring at the nanoscale by layer-by-layer technique