Test See merge request !1
correct 2 bugs: distinguish stack and hyper stack, handle correctly the case when the 1st landmark is not on the 1st frame