Great idea and fits the theme very well! I think I saw a similar idea in one game on itch but it's only because I was research math games :D so it's actually very original. A very solid work!
For me, it was a bit too hard to control, like push the blocks so they don't go around but maybe it's just me or it is a part of the game :)