Added approach to make materialization of existential restrictions more memory efficient.