Import missing create_compact_dataset.