Fix to speed up nasty case of very deep maf blocks
-
Cleaned up hack.
fixing the output header