LED 8x8x8 Arduino cube HELP!

I have made an 8x8x8 led cube with arduino uno and it works perfectly, but I want to add a IR remote controle to it and since all the pins are used, I cant do that.
My idea was to replace Arduino Uno with Arduino Mega 2560.
My question is:
Will this work if I connect the pins on Mega as they were connected on Uno ?

Code: http://www.pyroelectro.com/projects/8x8x8_led_cube/arduino_8x8x8_cube.pde

Thanks!

Yes

Definenitely NO - that sketch uses direct port and timer register manipulation and will all need changing
for the Mega - since the pin assignment to timers and ports is completely different on the Mega it may
not be particularly straightforward.

@INTP: Did you look at the sketch before answering?

Nope

Thank you for your replies.

@MarkT - that is what I had been worrying about. Is it possible to make it work somehow?

A Mega will work, just need to change the code a little. Are you sure you've used all of the pins on the Uno, though?

Yes, all the pins are used on Uno.

Can someone point me in the right direction how to make this work, what should I change ?
Do I need to change wiring connections for mega and change the port in code?

Anyone? please