split histogram