Building blocks for directional block decoder done, missing unit-tests