implementation of 16 images and mipmaps