* Fixed dynamic beam for variable length transition histories, to do edit transition. May be stuff in transitions that is not necessary and reduces safety.
* Fiddled with caching