ignore DS_Store
very close to working
add binary, reimplement from Borodovsky & Ekisheva (2006)