math re-render