get proper intervals (central and shortest)
get shortest interval