variable size according to distance