Relaxations of the optimality requirement on the thresholding greedy algorithm for bases of Banach spaces