Implements sizeThatFits method.

This is not an ideal implementation, but it works and the "Right Way" would require significant refactoring.