Changed to delta x
fixed scale problem