Implemented using the trinomial expansion approach.