percent_filled calculation