[間「あいだ」]/[間「あいだ」]に => During A, During A (before A is finished/over) N2
Time, Situation
[時「とき」] => At the time A N5
Time
Vた[時「とき」] => After having done something N5
Time
[要「よう」]するに => A. In short/put simply, B N2
Adjectival, Descriptions
[必要「ひつよう」]はない => It is not necessary for A to be done N2
Needs, Requirements