compare dimensions of original and reduced data