~core/calstr

ref: cad8652179488e523c544d200d680851baa4888b calstr/src d---------
feat: fix edgecases
improvements
initial commit