reduced heap usage