Yes, I recommend using an 8-inch (20 cm) square baking tray. The bars will be shorter than the cheesecake but this is perfect for bars!