Add efficient implementation of BoneLength