found a more optimal level 20 with a slightly different strategy inspired by @DokterKai's solution below