initialize oriented forest label for nodes