Your math for each street is wrong

Preflop: we 4x, villain calls. 9x in the pot.
Flop: We 9x, villain calls. 18x in the pot.
Turn: We shove our 27x into the pot, which is 18x.
Villain has to call 27x to win 18+27 = 45x, not 54x.