add some patterns for multiplication with constant