Templateize size, fix up some tests, use T constant instead of size-based movements