simple decompose kernel

unoptimized version