Thanks!

I already work on new version - current has one big flaw. It's impossible to treat outliers in some special way (ignore them/assign to special group/...). By outliers I mean:
  • super customers - every site has them ( customers that place - possibly multiple - orders every day and each order is for many items ). Group containing such customer is probably biased.
  • super orders - very large orders that happen rarely / as above