Making a comet nucleus