verticalDistance treshold