figure out in advance(У него всё просчитано. He's got the whole thing worked out in advance.; предусмотреть все возможные варианты развития событий to foresee all the possible consequences in advance and act accordingly); work out in advance; size up(ситуацию и т. п.)