Implemented if argument for degree = 0 then use optimal degree in BTUtil.