Small optimization of function for finding overlapped objects with specific voxel + const + static inline