deem it necessary
To determine that something is necessary. I didn't deem it necessary to give the boys detention because having their shirts untucked isn't a very serious infraction.
deem it (to be) necessary
and deem that it is necessaryto decide that something is necessary. Mary deemed that it was necessary to leave town that night. Lisa deemed it necessary to go home.