better layout for beams+rests