Search for a bond in the given cubes. This function searches for atom-pairs that fulfill the distance requirements within the given cube and all 26 surrounding ones.
List of cube indices to search in, use an empty list for all cubes
List of two atom types
Bounds of allowed distance [lower, upper]
Bond array containing lists of two atom ids