modify calcurate cell height and layout