A cubical box is required to contain a set of wooden blocks (N right parallelepiped solids that fits in without spaces) which have different edges and colors. No two blocks have the same edge linear measurement. All blocks have unique dimension (integer units), thus no square faces.
What are the smallest box's inside dimensions SxSxS ?