MERGE-profile optimize: in/out formats use tmp references
MERGE-profile optimize: less reading from conf; use global debug vals