script for estimating length of library insert