Nanoscale control of 2D and 3D crystal growth.