c_index - collision index/priority
working with layers