compute preview width out side the loop