A general XxYxZ cuboid solver