add density setting to convert call