How dragonfruit gets its shape