Relative difference comparison changed to absolute difference