Yes, I do believe this is the best option. If you use a cake pan, it's going to be almost impossible to get the slices out without an absolute mess.