Color intervals according to their duration
Omit the end tags of <rect>
Reduce the redundant precision of coordinates