remove column limits + prepare for mex file