modify resolution
matrix on half way
merge