merging messages basing on time difference; resolves #80