added minor changes to the ssvs section of the code to make dimensions conformable