better stroke-gedge creation