Batch type furnace