fix heap size