Memory not initialized on combined images