Building ships with refits