add FLS and support auto recognize value size

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>