Add elements from same layer. Fix regression test.
Add Spread elements from the same layer first to keep the z-axis position.