I designed this a good while ago so the parametric aspect of it might not be super robust. Still use these to this day, you might find this useful too.