~core/calstr

feat: fix edgecases
improvements
initial commit