final generank feature generation