Distributed Fair Scheduling Using Variable Transmission Lengths in Carrier-Sensing-based Wireless Networks