make plotting faster