basic stacking logic for koma-dai