EFFICIENT LAYOUTS AND ALGORITHMS FOR MANAGING VERSIONED DATASETS