Merge branch 'midpoint-subdivision' into 'master'

add Midpoint subdivision scheme

See merge request !117
24 jobs for master in 40 minutes and 32 seconds (queued for 2 seconds)