Instead of REBUILDING, consider COALESCE.
The command is :
ALTER INDEX indexname COALESCE;

By coalescing, Oracle merges near emplty blocks and frees them for future insertion. Moreover, there won't be lock on the table, so the availability of the table is ensured. In 24x7 env, this is a most command I have come across.

Tamil