Evaluate step functions