NFA Level Calculator