Make lmi calculation more accurate