[Olena-patches] 3161: Add soft heap implementation.