First map with weight depending on the state