Fix tests
PERF: cythonize BlockPlacement class