Binary dataset generation