remove unused uniform
moved uniforms
add m:flatten function
add using of shader program