Memory consumption optimization, using half by cutting leak