revert to edge first and pattern second.