Working (but naive) implementation of body size limiting with tests.