Rebuilding Ships and calculations