Finding the constant term