Prisoners who regularly used heroin had significantly worse social determinants of health and smoking behaviours , including lower educational attainment , more frequent incarceration and earlier initiation into smoking .