bug in subrope (cast of subrope spanning multiple leaves)