Improve algorithm to detect insignifcant BR elements