length-replicate is now upstream as well