Speed up BFInstance.contains