threshold

0 1 0 0 1 1 0 1
200
1.35
0.72