join(..) and extrude(..) with variable depth