Text this: Optimal approximate computation of Euclidean distance in spiking neural P systems framework