The center conditions for a cubic systems