Probably will be working in few minutes, but making copy anyway
Seems to work for good fits, not for lines.
Almost perfect, some small flaws