Project BOW update.

Optimize parameters.