Compact heating unit for distribution boxes