Change Object[] to int[] and create SequenceWritable