Building of ships and floating structures