Reduce number of edges in flying layer to speed up rendering