For the motivation see comments from @victorliu in https://github.com/KLayout/klayout/pull/705
For the motivation see comments from @victorliu in #705