simplified queen pst + code shrinking