Can you post your code?
Maybe someone will be able to see a way to optimize it.