P3K: division should produce integer.

The division produces a float under Python 3.x; it leads to DeprecationWarnings under Python 3.x because these float "n_features" makes "starts" array float and values from "starts" are used as slice indices.