hierarchy distance support