libfbi: a C++ implementation for fast box intersection and application to sparse mass spectrometry data