An implementation of the Local Similarity Statistics using an approximate p-value upper bound