HIIT version for freeglut with modifications for Android