fix a bug of SubLineItegratorCore
merge and pull redundent codes to AbstractLineIntegratorCore