A possible solution to multiple variable length bed serving

I found this picture and thought of this thread. LINK