Shift density estimation based approximately recurring motif discovery