initialize features to 0.