speead up one-thread java code