Combine overlapping except blocks. Improve output