Added additional debugging regarding range computation