Creating RGBE data structure