added calculate size