Adding async size function that has bug