Merge pull request #36 from sergi/32-fixed-bug-in-overlap-elimination

Fixed bug in overlap elimination