Update alignment.py

Substracted threshold from weight when aligning.