Switch to vecmath classes.
Render tiles calculation.