use the right type (Limb) instead of Culong for limbs