limitmat only with 16bit integer