HIL: reduce excessive stack usage of driver