build_memo returns nil on errors