Mapping of crystal growth onto the 6-vertex model