Refactory some codes: trans int[] to ArrayList. But Still Bug.
Tuning some parameter.

Signed-off-by: samueldeng <mr.dengshuoling@gmail.com>