Dynamic way to set beam selection