Add support for legacy data format. Add percentile support
move to 4 spaces