Starting to handle density storing
Now density storing is working better