A-stable and L-stable block implicit one-step methods with modified algorithm