B::Utils - helper functions for op tree manipulation