Fix processing of displacements
Merge pull request #21 from ItEndsWithTens/fix_displacements

Fix processing of displacements