A failure criterion for snow