Fixed the loop compare
C
C
C
C
C
C
C
C
C
B
D
:q

A#
D
z
D
B
B
A
A
A
D#
C