minimum scalar product added in play web app