This is a hopefully cleaner pull request then #52.
It fixes the misalignment of straight lines observed in our project and does some refactoring that allowed me to better understand the intention of the code.
Coverage increased (+0.02%) to 17.495% when pulling 4d65f182bc00aeb6187407326cf6080c73965a39 on cbvms123:issue51b into f65826d37aeac392b8dd6eeb5cdb2e04ec9b2168 on miho:master.
This is a hopefully cleaner pull request then #52. It fixes the misalignment of straight lines observed in our project and does some refactoring that allowed me to better understand the intention of the code.