Efficient labelling algorithms for the maximum noncrossing matching problem