lot-size-calculation