UPDATED: finalizing bloom filtering implementation