attempt at integer support with MPS output