initial commit fast 10-bin version