inline cuboid distance compute
inline cuboid distance compute