Oh wow... fixed a wicked bug that was causing infinite recursion for calculating the depth.