Realized that the way I was computing thickness isn't guaranteed to work properly for non-perpendicular nail joints. So I fixed that.