-take the neibhouring feature length into account
added the sub directory to ignore pyc files