Why my square positions are not netted out and removed from the positions list?