renamed sz to epsmax and sx to deltamax