++++++++++++++++
0......A........
1...............
0......B........
++++++++++++++++