Add function set_dmin to object Ring