Added function to convert size string