using Freedman Diaconis Algorithm