[FEATURE] Adds find function to dynamic prefix sum tree.