Hi everybody, new to the board. Have had a KDX for a while now, but it has never had a motor in it

Picked up the bike for $300 rolling, just recently I spotted a 1990 kx250 motor on eBay, and figured they were a match made in heaven. Got the motor for another $300 and now am planning on rebuilding the bike. Now can anyone tell me the main differences between a KX250 and KDX 200/220? Am I going to run into any problems trying to fit the 250 in this frame?
Thanks
