Predicting viability of small businesses on the edge of failure