so while he studied the probabilities of pinprick 's end phase the program was spitting out he thought about the devil 's deal he 'd been forced to make with dimitri maslov and , by extension , leonid arkadin .