How deep does this go?
And what other optimisations can be made?
Created with Sketch.