Cooperative adaptable lanes for safer shared space and improved mixed-traffic flow | Synapse