updated splitting density grid script with comments.