If you are leaving the 20 gallon up until the 40 is ready, put whatever extra rock and sand you are going to need for the extra space in the 40 and let it cycle. When it's done, the rock and sand from the 20 can be put in without an additional cycle taking place.