An analysis of the fractional step method