Similar Items: An efficient algorithm to decide periodicity of $b$-recognisable sets using LSDF convention