in sendScoresToFrontier, I don't see you use FrontierFlipped and EdgeTypeBackToFrontier. Why do you send them through message?