My contractor has installed the junction box for my new 30" under counter wall oven inside the oven cabinet at the top. The NM cable runs up the inside back of the oven (actually pinched between the oven and cabinet wall) to the junction box he mounted at the top of the oven within the cabinet. All of this is a very tight fit. Is this a proper way to do it? It seems like the reason the oven comes with a flex conduit is that they want to keep the nm cable away from the heat. He is re-using the old oven 5 x 5 inch junction box which was a 50 amp circuit (#6) for this new 30 amp 4 wire circuit (#10). Is such a big box required?