adjusted interval calculation