separated init and max heap size