added infrastructure for memory conservative builder