splitting track into pieces accrording to availability