changed the threadsize in all dimensions to the same value