improve quarry operations with avls