Replace int to list to bin with direct int to bin