improve break point detection