toString for non-powers-of-2