f epsilon calculation part is fixed.