failed collision calculator