remove empty lines
add interval tree