Tested and operational for m=5, t=2