Optimize sensors message construct