Neapolitan cooks traditionally use pasta mista, a mix of leftover pasta shapes, for dishes like this.
Nothing wasted.