draw entire array at once using glDrawArrays(). added a DEPTH_TRESHOLD_RANGE.