Z-Stack factory