correct a bug for extending with other length FOR <extendReadsinBam.py>