Right movement collapse implementation. Think a data structure like a stack for collapse/slide evaluation would make more sense.