Made sol #10 faster