solidFromSlices functionality