The Forge upgrades vary on how close they need to be. You can simply place one item at a time to ensure that the Forge is upgraded. More often than not, you won't be able to place the upgrade unless it will work.