added dynamic penalty weight for unaligned points