sample_expanded_data function

Internal method to sample expanded data