Is it legal to take a 150 amp 30 space 30 circuit panel and install a 100 amp main because of the wire size and use all 30 circuits.