fixed output dimensions in tlpl
R and C results match for tlpl