Alberto Zerolo patch of 22 January, including support for
evenAndOddHeaders flag.
Handle continuous sections properly