[fix] fixed bug in pullup: not always calculated correct length
[add] , copies nodes from another chain
[minor] cleanup