pat 1018 heap optimization