switch bookkeeping with theta, major bug fixed: Y displacement