increasing precision of amplitude maximum