Bounding the lifetime of sensor networks via optimal role assignments | Synapse