これも鑑みると圧縮式は for i=0 to max f=0 if (配列)==5 then f=1 (配列) = ((配列)<<1) or f next の過程で十分だな、後は配列内の座標とか情報抜き出しとかそういうのを調整