Merge all edge-to-edge functions into two methods for applying insets. This generally simplifies code.