bugfix: check_convex when taking union in discretize

introduced in 0def035a65b0409865440449c97d463a3061f348