execute correct number (image size) instructions