Speed up ratchetFrom
using subtree as key
#597
Merged
ratchetFrom
using subtree as key
#597