Fixed error in etype size determination. Implementation now passes all tests.