small work towards releasing memory faster