offset_edges: made pep-8 compliant