Didn't get it at first but then I understand, nice puzzle! I thought level 4 was impossible, after retrying again from level 1, I finally finished all the levels.