Reduce number of lines in modules to 1000 or less

(except for pcfg.pyx & containers.pyx)