casting suitable for trays for midi-large and Midi-large Bufferflow