Is there an optimiser/defrag tool ?

Not at the moment but one is planned.