debug of smallest and other methods.