Algebraic equations with span less than 4