update maze
add branch predictor && polar function