use naive length calculator by default