Better logic for reproduction/death