Improved the zipping of indices and the free slots