cleanup of cube drawing code
draws array of 5 histogram bars