performance optimizations by using just one loop for draw
game balancing