Updating the bad window detection in alignUngapped