Indexing bug at data simulation for different sized data is corrected.