Optimizing preform heating temperature