weight can be calculated with even huge data size