CPS: Small: Scaling Cyber-Physical Systems to the Low-Power Internet of Things