update information about blocked directions when merging nodes