Workaround: direct weight adding
Fixed tree access