There is a number of algorithms you can use and depending which one you choose, you'll get a different result.