attempt at fixing dynamic y-dimension in beams

non functional