first values is now working much better here
fix bug in raw data for partition id in reverse order