A technique to reduce Krylov basis