Added digging constraints and building functionality