scoreboard players operation #width pipes.var = #custom_digit pipes.var
scoreboard players operation #height pipes.var = #custom pipes.var
scoreboard players operation #height pipes.var %= #10 pipes.constant