Implemented blank lines merging