Change to make sure thread size is always at least 5