filling and trimming the cake