Solved a minor issue on the script developed to select inner/outter boundaries given an alignment stats