update traverse.py for multiaction.bgd