The larger a shipyard is, the faster it can expand itself. So if you increase it from 10k to 20k in one go, it's going to take quite a bit longer then increasing the size in steps of 1k. I think that stopping an expansion will give you the 'size' that has already been built, but that size isn't active during the project itself.