Cake-Cutting Algorithms: Be Fair if You Can