updated Cubic2 to avoid the use of propagate_labels, which was removed from develop