Magdelina analysis split by level
Fixed bug: wrong direction for pull/push as far as possible.