Commits used to debug nan and negative density