adding input binning and bfs privitization