Adds ranging for debug