Implement ranged write locks