Fixed the issue related to uneven distribution of data. Issue was with String to byte[] conversion.