fixed edge condition
color code markers and cluster