dont use Math.round

merges and closes #696